package csdj.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.lww.springcloudapi.pojo.TabHallUsermessage;
import com.lww.springcloudapi.pojo.TabHallUserpackage;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

/**
 * 用户套餐信息表dao接口
 */
@Mapper
@Repository
public interface TabHallUserpackageMapper extends BaseMapper<TabHallUserpackage> {
    /**
     * 根据号码 修改号码信息
     * @param userpackage
     * @return
     */
    int updateUserSetmeal(TabHallUserpackage userpackage);

    /**
     * 按电话查询用户套餐信息
     * @param phone
     * @return
     */
    TabHallUserpackage selectUserPackageByPhone(String phone);

}
